<!doctype html>
<script>
addEventListener("beforeunload", function() {parent.parent.beforeunload_fired=true}, false)
</script>
